package com.cainiao.pojo;

/**
 * 订单的配送，贺卡等详细信息
 * ReturnReason
 * 数据库表：return_reason
 */
public class ReturnReason {

    /**
     * 主键
     * 表字段 : return_reason.return_reason_id
     */
    private Integer returnReasonId;

    /**
     * 原因类型
     * 表字段 : return_reason.reason_type
     */
    private Byte reasonType;

    /**
     * 退货原因
     * 表字段 : return_reason.reason
     */
    private String reason;

    /**
     * 获取 主键 字段:return_reason.return_reason_id
     *
     * @return return_reason.return_reason_id, 主键
     */
    public Integer getReturnReasonId() {
        return returnReasonId;
    }

    /**
     * 设置 主键 字段:return_reason.return_reason_id
     *
     * @param returnReasonId the value for return_reason.return_reason_id, 主键
     */
    public void setReturnReasonId(Integer returnReasonId) {
        this.returnReasonId = returnReasonId;
    }

    /**
     * 获取 原因类型 字段:return_reason.reason_type
     *
     * @return return_reason.reason_type, 原因类型
     */
    public Byte getReasonType() {
        return reasonType;
    }

    /**
     * 设置 原因类型 字段:return_reason.reason_type
     *
     * @param reasonType the value for return_reason.reason_type, 原因类型
     */
    public void setReasonType(Byte reasonType) {
        this.reasonType = reasonType;
    }

    /**
     * 获取 退货原因 字段:return_reason.reason
     *
     * @return return_reason.reason, 退货原因
     */
    public String getReason() {
        return reason;
    }

    /**
     * 设置 退货原因 字段:return_reason.reason
     *
     * @param reason the value for return_reason.reason, 退货原因
     */
    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }
}